using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace DACNPM.ReportFile
{
    public partial class ThongKeKhachHangQuenThuocReport : DevExpress.XtraReports.UI.XtraReport
    {
        public ThongKeKhachHangQuenThuocReport()
        {
            InitializeComponent();
        }

        public void Load(String tuNgay, String denNgay)
        {
            lblTuNgay.Text = tuNgay;
            lblDenNgay.Text = denNgay;

            xrMaKhach.DataBindings.Add("Text", DataSource, "id_Khach");
            xrTenKhach.DataBindings.Add("Text", DataSource, "TenKhach");
            xrDienThoai.DataBindings.Add("Text", DataSource, "SoDienThoai");
            xrSoLuongMua.DataBindings.Add("Text", DataSource, "SoLuongMua");
            xrSoLanMua.DataBindings.Add("Text", DataSource, "SoLanMua");
            
        }
    }
}
